package com.module.framework.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.module.framework.domain.Comment;
import com.module.framework.domain.CommentList;

import java.util.List;

public interface CommentService extends IService<Comment> {

    // 列表
    List<List<Comment>> commentList(Integer pageNum, Integer pageSize);

    CommentList getCommentInfo(Integer id);

    void addComment(Integer bookId, String comment);

    boolean deleteComment(Integer id);
}
